package com.air.entity;

import lombok.Data;

@Data
public class City implements Cloneable{

  private long id;
  private String name;

  public City() {
  }

  public City(long id, String name) {
    this.id = id;
    this.name = name;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  @Override
  public City clone() throws CloneNotSupportedException {
    return (City) super.clone();
  }
}
